package com.suyang.syt.model.dto.app;

import com.suyang.syt.model.Pic;

public class AppPicDTO {
	
	/** 图片id */
	private Long id;
	
	/** 图片名称*/
	private String name;
	
	/** 图片路径 */
	private String path;

	/** 点击图片对应的URL地址 */
	private String url;

	public AppPicDTO() {
	}

	public AppPicDTO(Pic pic) {
		this.setId(pic.getId());
		this.setPath(pic.getPath());
		this.setUrl(pic.getUrl());
		this.setName(pic.getName());
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
